package com.community.mapper;

import com.community.dto.SaleDto;
import com.community.pojo.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author TangHaoSong Fly ChenJie HeYuHang
 * @since 2024-05-15
 */
public interface ProductMapper extends BaseMapper<Product> {

    List<SaleDto> productSale();

    Integer getSale();
}
